package com.renbang.model.sys;

import java.util.List;

/**
 * 
 * @description SysFun功能bean
 * @author chen
 * @date 2017-3-14
 */
public class SysFun {
	
	private Integer id;//功能id
	private String icon;//功能图标
	private String url;//功能路径
	private String isEnabled;//是否启用
	private Integer  pId;//父功能id
	private String	name; //功能名
	private String	funBtns;//功能按钮组
	/**子功能**/
	private List<SysFun>childFuns;
	
	public List<SysFun> getChildFuns() {
		return childFuns;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFunBtns() {
		return funBtns;
	}

	public void setFunBtns(String funBtns) {
		this.funBtns = funBtns;
	}

	public void setChildFuns(List<SysFun> childFuns) {
		this.childFuns = childFuns;
	}

	@Override
	public String toString() {
		return "SysFun [id=" + id + ", icon=" + icon + ", url=" + url
				+ ", isEnabled=" + isEnabled + ", pId=" + pId + ", name="
				+ name + ", funBtns=" + funBtns + ", childFuns=" + childFuns
				+ "]";
	}
	
}
